#pragma once
#ifndef skyUtils_h_
#define skyUtils_h_

#include "./skyType.h"
#include "./skystring.h"

namespace Sky 
{
	class Utils
	{
	public:
		static String path;
		static StringPtr fullPathFromRelativePath(String& rel)
		{
			StringBuilderPtr fullPath = skynew(StringBuilder());
			fullPath->append(path->toCharString());
			fullPath->append(rel->toCharString());
			return fullPath->toString();
		};
		static Void setMediaRootDirectory(String& dir){path = dir;}
	};
	
}
#endif // xResult_H__
